<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<ui:composition xmlns="http://www.w3.org/1999/xhtml"
    xmlns:s="http://jboss.com/products/seam/taglib"
    xmlns:ui="http://java.sun.com/jsf/facelets"
    xmlns:f="http://java.sun.com/jsf/core"
    xmlns:h="http://java.sun.com/jsf/html"
    xmlns:rich="http://richfaces.org/rich">
    
<html xmlns="http://www.w3.org/1999/xhtml">
	<!-- Template Design by ZhengDesign.com | http://www.ZhengDesign.com | Released for free under a Creative Commons Attribution-Share Alike 3.0 Philippines -->
	<head>
		<meta http-equiv="content-type" content="text/html; charset=utf-8" />
		<title>Central Gold</title>
		<meta name="keywords" content="" />
		<meta name="description" content="" />
		<link href="layout.css" rel="stylesheet" type="text/css" media="screen" />
	</head>
	<body>
		<div id="wrapper">
			<table width="100%" border="0" cellpadding="0" cellspacing="0" align="center">
				<tr>
					<td width="920" valign="top" id="logo" align="center">
						<h:graphicImage value="/img/logo_gold_site.png" 
							height="184" width="300" rendered="false"/>
					</td>
				</tr>
			</table>
			<table width="920" border="0" cellpadding="0" cellspacing="0">
				<tr>
					<td width="920" valign="top" id="menu" >
						<ul>
							<li><a href="#" class="active">Central Gold</a></li>
						</ul>
					</td>
				</tr>
			</table>
			<table width="920" border="0" cellpadding="0" cellspacing="0">
				<tr>
					<td width="920" id="header">&nbsp;</td>
				</tr>
			</table>
			<table width="920" border="0" cellpadding="0" cellspacing="0">
				<tr>
					<td width="920" id="page">
						<table width="100%" border="0" cellspacing="0" cellpadding="0">
							<tr valign="top">
								<td id="content"><h2>Bem vindo à Central de Serviços da Gold Gentleman</h2>
									<p class="byline">Facilitando a sua vida!</p>
									<p><strong>Central Gold</strong> é o sistema de gestão da Golg Gentleman Rent a Car. Aqui você poderá:</p>
									<ul>
										<li>Fazer consulta de disponibilidade de veículos.</li>
										<li>Agendar a locação de um veículo.</li>
										<li>Consultar histórico e extrato de locações.</li>
									</ul>
								</td>
								<td id="sidebar">
									<h2>Acesso ao sistema:</h2>
									<rich:spacer width="10px"/>
									<h:form id="loginForm">
										<h:panelGrid columns="2">
					                    	<h:outputLabel for="username">Usuário:</h:outputLabel>
						                    <h:inputText id="username"
						                              value="#{credentials.username}"/>
						                    <h:outputLabel for="password">Senha:</h:outputLabel>
						                    <h:inputSecret id="password"
						                                value="#{credentials.password}"/>
							                <h:commandButton id="submit" value="Entrar" action="#{identity.login}"/>
						                </h:panelGrid>
						                <br/>
						                 <h:messages id="messages" globalOnly="true" styleClass="message"
								            errorClass="errormsg" infoClass="infomsg" warnClass="warnmsg"
								            rendered="#{showGlobalMessages != 'false'}"
								            style="font: white;"/>
					                </h:form>
								</td>
							</tr>
						</table>
					</td>
				</tr>
			</table>
			<table width="920" border="0" cellpadding="0" cellspacing="0">
				<tr>
					<td width="920" valign="top" id="footer"><p>&copy;&nbsp;Copyright 2012. Todos os direitos reservados </p></td>
				</tr>
			</table>
		</div>
		<div style="text-align: center; font-size: 0.75em;">Desenvolvido por <a href="http://www.jonetechn.com.br/">Jonetechn TI</a>.</div>
	</body>
</html>

</ui:composition>